import { instance } from "@/utils/request";

export function getAnli(current) {
  return instance({
    url:"/admin/case/list",
    params:{
      current,
      size:10,
    }
  })
}

export function addAnli(data) {
  return instance({
    url:"/admin/case/add",
    method:"POST",
    data
  })
}
export function editAnli(data) {
  return instance({
    url:"/admin/case/update",
    method:"POST",
    data
  })
}
export function delAnli(params) {
  return instance({
    url:"/admin/case/del",
    params
  })
}
